# row = 1
# while row <= 5:
#     print('*' * row)
#     row += 1

row = 1
while row <= 5:
    row2 = 0
    while row2 < row:
        print('*',end='')
        row2 += 1
    print('')
    row += 1
